/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.service;

import java.util.List;

import com.legendshop.dao.support.CriteriaQuery;
import com.legendshop.dao.support.PageSupport;
import com.legendshop.oa.dto.ProjectPlanQueryDto;
import com.legendshop.oa.model.ProjectPlan;

/**
 * 项目计划服务接口.
 */
public interface ProjectPlanService {

	/**
	 * 根据商城获取列表
	 */
	public List<ProjectPlan> getProjectPlan(String userName);

	/**
	 * 根据Id获取
	 */
	public ProjectPlan getProjectPlan(Long id);

	/**
	 * 删除
	 */
	public void deleteProjectPlan(ProjectPlan projectPlan);

	/**
	 * 保存
	 */
	public Long saveProjectPlan(ProjectPlan projectPlan);

	/**
	 * 更新
	 */
	public void updateProjectPlan(ProjectPlan projectPlan);

	/**
	 * 查询列表
	 */
	public PageSupport getProjectPlan(CriteriaQuery cq);

	/**
	 * 加载项目下的计划
	 */
	public PageSupport<ProjectPlan> getProjectPlanByProject(ProjectPlanQueryDto projectPlanQueryDto);
}
